python oracle 10g 연동 :: 오라클설치[SSISO Community]
 
SSISO 카페 SSISO Source SSISO 구직 SSISO 쇼핑몰 SSISO 맛집
추천검색어 : JUnit   Log4j   ajax   spring   struts   struts-config.xml   Synchronized   책정보   Ajax 마스터하기   우측부분

오라클설치
[1]
등록일:2008-04-03 11:01:20 (0%)
작성자:
제목:python oracle 10g 연동
파이썬과 오라클 연동은 아주 간단했다.

하지만, 몰라서 3시간 삽질했다 -_-;;

나의 검색 능력을 의심 中..

1. 파이썬 설치

2. CX-Oracle 설치
다운로드 : http://www.cxtools.net/default.aspx?nav=cxorlb
참고 : http://www.python.net/crew/atuining/cx_Oracle/README.txt

# tar xzvf cx_Oracle-4.2.tar.gz
# cd cx_Oracle-4.2
# python setup.py build
# python setup.py install

끝 -_   -;

3. db_test.py
import cx_Oracle

connection = cx_Oracle.connect("id", "pass", "ora10")
cursor = connection.cursor()
cursor.execute("SELECT count(*) FROM MEMBER");
print cursor.fetchall()
cursor.close()파이썬과 오라클 연동은 아주 간단했다.

하지만, 몰라서 3시간 삽질했다 -_-;;

나의 검색 능력을 의심 中..

1. 파이썬 설치

2. CX-Oracle 설치
다운로드 : http://www.cxtools.net/default.aspx?nav=cxorlb
참고 : http://www.python.net/crew/atuining/cx_Oracle/README.txt

# tar xzvf cx_Oracle-4.2.tar.gz
# cd cx_Oracle-4.2
# python setup.py build
# python setup.py install

끝 -_   -;

3. db_test.py
import cx_Oracle

connection = cx_Oracle.connect("id", "pass", "ora10")
cursor = connection.cursor()
cursor.execute("SELECT count(*) FROM MEMBER");
print cursor.fetchall()
cursor.close()

출처 : http://kineo2k.tistory.com/115
[본문링크] python oracle 10g 연동
[1]
코멘트(이글의 트랙백 주소:/cafe/tb_receive.php?no=7123
작성자
비밀번호

 

SSISOCommunity

[이전]

Copyright byCopyright ⓒ2005, SSISO Community All Rights Reserved.